#-------------------------------------------------
#
# Project created by 华磊
#
#-------------------------------------------------
QT += xml

TARGET = VisionMatch
TEMPLATE = lib
CONFIG += staticlib
DEFINES += VISIONMATCH_LIBRARY

#DEFINES  += D_USE_OPENCV

INCLUDEPATH +=../HmiGsoapQt
INCLUDEPATH += ../../include/
INCLUDEPATH += ../../include/MacroDefine
INCLUDEPATH += /usr/local/include/kdl
INCLUDEPATH +=../DomParser
INCLUDEPATH +=../MessageLog
INCLUDEPATH +=../AxisObject
INCLUDEPATH +=../KalmanFilter
INCLUDEPATH +=/usr/include/eigen3


INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD


#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS #为什么其它库pro也要定义这个才起作用。


contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
}
contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")

}
contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
}



contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR =/agvwork/AgvFundation/fundation/lib/x86_WINDOWS
#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_windows
MOC_DIR +=../../build/tmpBuildDirectory_windows
OBJECTS_DIR += ../../build/tmpBuildDirectory_windows
RCC_DIR += ../../build/tmpBuildDirectory_windows
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR =/agvwork/AgvFundation/fundation/lib

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory
MOC_DIR +=../../build/tmpBuildDirectory
OBJECTS_DIR += ../../build/tmpBuildDirectory
RCC_DIR += ../../build/tmpBuildDirectory
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR =/agvwork/AgvFundation/fundation/lib-arm

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_arm
MOC_DIR +=../../build/tmpBuildDirectory_arm
OBJECTS_DIR += ../../build/tmpBuildDirectory_arm
RCC_DIR += ../../build/tmpBuildDirectory_arm
}


HEADERS += \
    visionmatch.h \
    linematch.h \
    qrcodesensoradapter.h \
    reflectormatch.h \
    circulecrosscalculate.h

SOURCES += \
    visionmatch.cpp \
    linematch.cpp \
    qrcodesensoradapter.cpp \
    reflectormatch.cpp

#INCLUDEPATH += /usr/local/include/opencv2

#LIBS += /usr/local/lib/libopencv_highgui.so \
#        /usr/local/lib/libopencv_core.so    \
#        /usr/local/lib/libopencv_imgproc.so \
#        /usr/local/lib/libopencv_nonfree.so \
#        /usr/local/lib/libopencv_features2d.so\
#        /usr/local/lib/libopencv_flann.so\
#        /usr/local/lib/libopencv_calib3d.so

